// 具体工厂 RectangleFactory  
public class RectangleFactory implements ShapeFactory {
    @Override
    public Shape getShape() {
        return new Rectangle();
    }  
}
